import {Routes} from 'Shared/utils/routeManager';
import {formatMessage} from './intl';
const routes = new Routes({
    history: {
        url: '/history',
        title: formatMessage({
            id: 'routes.column.operation.history',
            defaultMessage: '历史记录'
        }),
        format: '/history'
    },
    subHistory: {
        url: '/subHistory',
        title: formatMessage({
            id: 'routes.column.operation.subHistory',
            defaultMessage: '历史记录'
        }),
        format: '/subHistory'
    },
    applyHistory: {
        url: '/applyHistory',
        title: formatMessage({
            id: 'routes.column.operation.applyHistory',
            defaultMessage: '历史记录'
        }),
        format: '/applyHistory'
    },
    subApplyHistory: {
        url: '/subApplyHistory',
        title: formatMessage({
            id: 'routes.column.operation.subApplyHistory',
            defaultMessage: '历史记录'
        }),
        format: '/subApplyHistory'
    }
});

export default routes;
